Platform Explorer / Nuxeo Platform 2023.8

Component org.nuxeo.ecm.platform.publisher.contrib

Resolution Order

451
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.publisher.contrib">

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="validatorsRule">

    <documentation>
      Default ValidatorsRule to use: the validators will be principals having
      manage everything rights in the sections where the document
      has been published.

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <validatorsRule name="CoreValidatorsRule"
                    class="org.nuxeo.ecm.platform.publisher.rules.DefaultValidatorsRule"/>

  </extension>

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="factory">

    <documentation>
      Default PublishedDocumentFactories available to use.

      - CoreProxy: to manage published documents based on a proxy

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <publishedDocumentFactory name="CoreProxy"
                              class="org.nuxeo.ecm.platform.publisher.impl.core.CoreProxyFactory"/>

  </extension>

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="tree">

    <documentation>
      Default PublicationTrees available to use.

      - CoreTree: tree to use when publishing on local sections

      - RootSectionsCoreTree: tree to use when publishing on local sections but
      using the information stored in the Workspace to get the sections where
      a publication is allowed

      @author Thomas Roger(troger@nuxeo.com)
    </documentation>

    <publicationTree name="CoreTree"
                     class="org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree"/>
    <publicationTree name="RootSectionsCoreTree"
                     class="org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree"/>

  </extension>

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="treeInstance">

    <documentation>
      Contribute the default PublicationTree instance to be able to publish
      documents in local sections.
    </documentation>

    <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree"
                           factory="CoreProxy"
                           title="label.publication.tree.local.sections" >
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>

</component>